//
//  BMDatePickerView.m
//  bigmama
//
//  Created by huyuchen on 2017/8/15.
//  Copyright © 2017年 盛成文化. All rights reserved.
//

#import "BMDatePickerView.h"

@implementation BMDatePickerView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        [self addSubviews];
        
    }
    return self;
}

- (void)addSubviews
{
    self.datePicker= [[UIDatePicker alloc] initWithFrame:CGRectMake(0, 44, SCREEN_WIDTH, 216)];
    [self.datePicker setDatePickerMode:UIDatePickerModeDate];
    [self.datePicker setLocale:[[NSLocale alloc]initWithLocaleIdentifier:@"zh_Hans_CN"]];
    [self addSubview:_datePicker];
}

@end
